import React from 'react';
import styles from '../css/PageHeader.module.css'

/**
 * 每一页的页头
 * @param props
 * @returns {Element}
 * @constructor
 */
function PageHeader(props) {

    return (
        <div className={styles.row}>
            {/*标题*/}
            <div className={styles.title}>
                {props.title}
            </div>
            {/*分类标签*/}
            <div className={styles.tags}>
                {props.children}
            </div>
        </div>
    );
}

export default PageHeader;